package com.jzfai.mapper;
import com.jzfai.entity.Role;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * Created on 2019-08-16.
 *
 * @author fai
 */
public interface RoleMapper {

	List<Role> selectListRole(Role role);

	List<Role> selectByIdRole(@Param("id") Integer id);

	int insertRole(Role role);

	int updateRole(Role role);

	int deleteRole(Role role);

	int deleteByIdRole(@Param("id") Integer id);

}
